package com.atguigu.gulimail.product.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author Guo 2022/9/25 9:47:53
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Catelog2Vo {

    /**
     * 父分类ID  -- 1级分类
     */
    private String catelog1Id;

    /**
     * 三级子分类
     */
    private List<Catelog3Vo> catalog3List;

    private String id;

    private String name;


    @Data
    @AllArgsConstructor
    @NoArgsConstructor
    public static class Catelog3Vo {
        /**
         * 父分类ID  -- 2级分类
         */
        private String catelog2Id;

        private String id;

        private String name;
    }


}
